package com.byronspace.searvice;

import java.util.List;

import news.utils.model.Weather;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.byronspace.mapper.WeatherMapper;
 
@Service
public class WeatherService {
    @Autowired
    private WeatherMapper weatherMappper;
   
    public List<Weather> likeName(String name){
        return weatherMappper.likeName(name);
    }
}